Skip to content

Narrow DataStructures compat to 0.18#328

Merged
mtfishman merged 1 commit intomainfrom
mf/narrow-datastructures
Apr 23, 2026
Merged

Narrow DataStructures compat to 0.18#328
mtfishman merged 1 commit intomainfrom
mf/narrow-datastructures

Conversation

@mtfishman
Copy link
Copy Markdown
Member

The EinExprs weakdep (via ITensorNetworksEinExprsExt) pins DataStructures to 0.18. The 0.19 entry in the root compat is never reachable when the extension is loaded, so it is aspirational.

Under the compat-bounds check's breaking-bucket rule (ITensorActions#79), this spans two buckets (0.18 and 0.19) and fails the check. Narrowing to "0.18" collapses to a single bucket.

Widen back if EinExprs loosens its DataStructures compat, or remove the entry entirely once EinExprs support is dropped.

The EinExprs weakdep (via ITensorNetworksEinExprsExt) constrains
DataStructures to 0.18, so the 0.19 entry is aspirational — users who
load the EinExprs extension can never reach it.

Widen back if/when EinExprs loosens its DataStructures compat, or
remove the entry entirely once EinExprs support is dropped.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.43%. Comparing base (9b9ded5) to head (93258a6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #328      +/-   ##
==========================================
- Coverage   71.45%   71.43%   -0.03%     
==========================================
  Files          81       81              
  Lines        4029     4029              
==========================================
- Hits         2879     2878       -1     
- Misses       1150     1151       +1     
Flag Coverage Δ
docs 36.54% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman enabled auto-merge (squash) April 23, 2026 19:47
@mtfishman mtfishman merged commit b9fa26d into main Apr 23, 2026
16 of 17 checks passed
@mtfishman mtfishman deleted the mf/narrow-datastructures branch April 23, 2026 19:53
mtfishman added a commit that referenced this pull request Apr 26, 2026
`DataStructures` was narrowed to `"0.18"` in #328 because the `EinExprs`
weakdep pinned it that way. The `EinExprs` dependency was removed in
#327, but the narrowed `DataStructures` compat was never reverted (and
`DataStructures` itself is no longer `using`'d anywhere in `src/`,
`ext/`, or `test/`). Drop the entry entirely from `[deps]` and `[compat]`.

This also unblocks `OrdinaryDiffEqTsit5 = "1.1, 2"` resolution: the
v2 chain pulls in `OrdinaryDiffEqCore` 4, which requires
`DataStructures` 1.x-3.x and was previously incompatible with the 0.18 pin.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
mtfishman added a commit that referenced this pull request Apr 26, 2026
`DataStructures` was narrowed to `"0.18"` in #328 because the `EinExprs`
weakdep pinned it that way. The `EinExprs` dependency was removed in
#327, but the narrowed `DataStructures` compat was never reverted (and
`DataStructures` itself is no longer `using`'d anywhere in `src/`,
`ext/`, or `test/`). Drop the entry entirely from `[deps]` and `[compat]`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant